import Https from '@/utils/https'

// 页面上方的概览 待发布,成功,失败
const queryLogReq = (params) => Https.get('/api/v1/integration/api/http/log', params, { needCode: true })

// 终止
const queryStopReq = (params) => Https.post('/api/v1/integration/api/http/stop', params, { needCode: true, json: false })

// 归档
const ignore = (params) => Https.get('/api/v1/integration/api/http/ignore', params, { needCode: true })

export {
  queryLogReq, queryStopReq, ignore,
}
